package com.isoft.demo01.dao;

import com.isoft.demo01.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


import java.util.List;

@Repository
@Mapper
public interface UserManageDAO {

    List<User> listUser();


    int update(Integer userid,String username,String email,String phone);

    int delete(@Param("userId") Integer userId);
}
